package muhnes.sizoo.modelo;

public class Registro {
    
    private String valor;
    private String columna;
    private String fila;

    public Registro() {
    }

    public Registro(String valor, String columna, String fila) {
        this.valor = valor;
        this.columna = columna;
        this.fila = fila;
    }

    public String getColumna() {
        return columna;
    }

    public void setColumna(String columna) {
        this.columna = columna;
    }

    public String getFila() {
        return fila;
    }

    public void setFila(String fila) {
        this.fila = fila;
    }

    public String getValor() {
        return valor;
    }

    public void setValor(String valor) {
        this.valor = valor;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Registro other = (Registro) obj;
        if ((this.valor == null) ? (other.valor != null) : !this.valor.equals(other.valor)) {
            return false;
        }
        if ((this.fila == null) ? (other.fila != null) : !this.fila.equals(other.fila)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 89 * hash + (this.valor != null ? this.valor.hashCode() : 0);
        hash = 89 * hash + (this.fila != null ? this.fila.hashCode() : 0);
        return hash;
    }

    @Override
    public String toString() {
        return "Registro{" + "valor=" + valor + ", columna=" + columna + ", fila=" + fila + '}';
    }
    
}
